package com.example.mapper;

import com.example.pojo.dto.BaseDTO;
import com.example.pojo.dto.ImportDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BasicMapper {
    void insertData(@Param("data") String data, @Param("tableName") String tableName,@Param("head") String head);

    void insertDataList(@Param("dataList") List<String> data, @Param("tableName") String tableName,@Param("head") String head);

    void insertDataByDTOList(@Param("dtoList")List<? extends BaseDTO> dtoList, @Param("tableName") String tableName, @Param("head") String head);
}
